#include <Windows.h>

#define C 525
#define D 587
#define E 659
#define F 698
#define G 784
#define A 880
#define B 988
#define G2 392

DWORD freq[][2] = {{C, 500}, {D, 500}, {E, 500}, {C, 500}, {C, 500}, {D, 500}, {E, 500}, {C, 500}, 
					{E, 500}, {F, 500}, {G, 1000}, {E, 500}, {F, 500}, {G, 1000}, 
					{G, 250}, {A, 250}, {G, 250}, {F, 250}, {E, 500}, {C, 500}, 
					{G, 250}, {A, 250}, {G, 250}, {F, 250}, {E, 500}, {C, 500}, 
					{D, 500}, {G2, 500}, {C, 1000}, {D, 500}, {G2, 500}, {C, 1000}, {0, 0}};

int main() {
	for (int i=0; freq[i][0] != 0; i++) {
		Beep(freq[i][0], freq[i][1]);
	}
	return 0;
}
